<wx:page
 class="x-page"
 id="page"
 navigationBarTitleText="我卖出的"
 on:loaded="{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}"
 on:show="[{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}},{&quot;operation&quot;:&quot;wxapi.setNavigationBarTitle&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:\&quot;我卖出的\&quot;&quot;}}]"
 style="background-color:#f2edf5"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:contactbtnComp="$UI/comp/contactbtn/components"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<wx:model
 id="model"
 style="left:0px;top:0px;height:auto;position:absolute">
<wx:wxApi
 id="wxapi"
 label="通用接口"/>
<wx:commonOperation
 id="commonOperation"
 label="操作扩展"
 xmlns:wx="$UI/wxsys/comps"/>
<wx:restData
 _created="true"
 _orderBy_label="下单时间:降序"
 auto="load"
 className="/main/dingdan"
 id="restData1"
 label="订单"
 orderBy="fxiadansj:desc"
 url="/dbrest"
 xmlns:wx="$UI/wxsys/comps">
<join
 id="default14"
 leftTable="/main/dingdan"
 rightTable="/main/shangpin1"
 xmlns="http://www.w3.org/1999/xhtml">
<on
 fn="eq"
 id="default15"
 leftField="fshangpinid"
 leftFieldLabel="商品ID"
 rightField="fid"
 rightFieldLabel="主键"/>
<column
 field="fmingcheng"
 id="default16"
 label="商品ID-名称"
 name="fshangpinid_shangpin1_fmingcheng"/>
<column
 field="ftupian"
 id="default17"
 label="商品ID-图片"
 name="fshangpinid_shangpin1_ftupian"/>
<column
 field="fjiage"
 id="default18"
 label="商品ID-价格"
 name="fshangpinid_shangpin1_fjiage"/></join>
<filter
 _filter_label="订单状态 等于 页面数据.订单状态"
 id="restDatafilter4"
 name="_system1_">eq('fdingdanzt',tableData.current.fdingdanzt/*{&quot;dependencies&quot;:[&quot;tableData&quot;]}*/)</filter>
<filter
 _filter_label="并且 卖家ID 等于 用户信息.id"
 id="restDatafilter5"
 name="_system2_">eq('fmaijiaid',restData2.current.id/*{&quot;dependencies&quot;:[&quot;user&quot;]}*/)</filter></wx:restData>
<wx:tableData
 auto="load"
 className="/main/yemiansj"
 id="tableData"
 label="页面数据"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest1"
 label="订单打回重新付款"
 on:success="[{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:$event.data&quot;}},{&quot;operation&quot;:&quot;serviceRequest3.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;user2ID\&quot;:restData2.current.id}&quot;},&quot;cond&quot;:&quot;js:wx.Util.iif($event.data==\&quot;已打回\&quot;,true,false)&quot;}]"
 service="/main/gengxinxyf/dingdandhzxfk"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest2"
 label="发送聊天内容"
 service="/main/tianjiadqyhfjxx/fasongltnr"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest3"
 label="注册用户聊天列表"
 on:success="{&quot;operation&quot;:&quot;serviceRequest2.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;tableID\&quot;:serviceData.current.result,\&quot;content\&quot;:\&quot;亲，我申请让你重新付款了，如果有疑问可以直接问我\&quot;}&quot;}}"
 service="/main/tianjiadqyhfjxx/zhuceyhltlb"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:serviceData
 id="serviceData"
 label="注册用户聊天列表结果数据"
 service="/main/tianjiadqyhfjxx/zhuceyhltlb"
 serviceRequest="serviceRequest3"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"/></wx:serviceRequest>
<wx:serviceRequest
 class="hide"
 id="serviceRequest"
 label="订单发货"
 service="/main/gengxinxyf/dingdanfh"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest4"
 label="是否允许评价"
 on:success="[{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:$event.data&quot;}},{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/dingdan_pj_mjb_.w&quot;},&quot;cond&quot;:&quot;js:wx.Util.iif($event.data==\&quot;卖家评价\&quot;,true,false)&quot;}]"
 service="/main/fanhuizfc/shifouyhpj"/></wx:model>
<wx:loading
 class="weui-loader-full {{$state.loadingNum &lt;= 0 ?'weui-loader-hide':''}}"
 style="z-index: 10001;"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<view
 class="ball-scale-ripple-multiple">
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/></view></wx:loading>
<wx:inVisibleCompContainer
 id="inVisibleCompContainer">
<wx:user
 appPath="$UI/main"
 autoLoadUserInfo="true"
 autoLogin="true"
 id="user"
 useOpenid="false">
<wx:restData
 _created="true"
 className="uaa/user"
 columns="id,name,email,userName,phone,avatarUrl,description,data4,data5,data9,data15,data17,data2,data3,data6"
 id="restData2"
 label="用户信息"
 owner="user"
 xmlns:wx="$UI/wxsys/comps">
<column
 id="default0"
 label="昵称"
 name="nickName"
 type="String"/>
<column
 id="default1"
 label="群组"
 name="group"
 type="Array"/>
<column
 id="default2"
 label="是否登录"
 name="isLogined"
 type="Boolean"/>
<rule
 id="rule">
<readonly
 id="default3">
<expr
 id="default4">true</expr></readonly></rule></wx:restData></wx:user>
<wxPayComp:wxPay
 appPath="$UI/main"
 id="wxPay"
 on:payFail="[{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:\&quot;支付失败\&quot;&quot;}},{&quot;operation&quot;:&quot;commonOperation.openPageDialog&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/erwei_mzf.w&quot;,&quot;receData&quot;:&quot;restData1&quot;,&quot;params&quot;:&quot;js:{\&quot;param1\&quot;:tableData.current.fdangqiansjid,\&quot;param2\&quot;:tableData.current.fquanxuan,\&quot;param0\&quot;:tableData.current.fdingdanzt}&quot;}}]"
 on:paySuccess="[{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:\&quot;支付成功\&quot;&quot;}},{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;restData1.current.fdingdanzt&quot;,&quot;data&quot;:&quot;restData1&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;待发货\&quot;&quot;,&quot;row&quot;:&quot;js:restData1.current&quot;}},{&quot;operation&quot;:&quot;commonOperation.openPageDialog&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/zhifu_cg.w&quot;,&quot;receData&quot;:&quot;restData1&quot;}}]"
 outTradeno="restData1.current.fdingdanh"
 productName="&quot;小店&quot;"
 shopName="&quot;鱼香瓜瓢二手交易平台&quot;"
 totalFee="restData1.current.fshangpinid_shangpin1_fjiage"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:wxPayComp="$UI/comp/wxPay/components"/>
<wx:code
 _autogena="1"
 class=" x-inline-code"
 id="button1TapCallback"
 params="[{&quot;label&quot;:&quot;事件对象&quot;,&quot;type&quot;:&quot;$UI/wxsys/comps/button/button#tap&quot;,&quot;value&quot;:&quot;event&quot;,&quot;displayName&quot;:&quot;事件对象&quot;,&quot;name&quot;:&quot;event&quot;}]"
 type-label-info="{&quot;$UI/wxsys/comps/button/button#tap&quot;:&quot;点击事件&quot;}"
 xid="button1TapCallback"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on">
<script
 id="script"
 type="code/model"><![CDATA[
<root><imports/><function  id="function1" name="code"><params  id="params1"><param  id="event" type="$UI/wxsys/comps/button/button#tap" label="事件对象">event</param></params><method  id="method1"><start  id="start1" label="开始"/><line  id="start1|splitActivity1" label="" from="start1" to="splitActivity1"/><split  id="splitActivity1" label="是否待确认" condition="event.context.listitem.fdingdanzt == &quot;待确认&quot;"><when  id="splitActivity1|splitActivity2" label="假" is="false" from="splitActivity1" to="splitActivity2" error="none"><split  id="splitActivity2" label="是否完成" condition="event.context.listitem.fdingdanzt == &quot;完成&quot;"><when  id="splitActivity2|end2" label="假" is="false" from="splitActivity2" to="end2" error="none"><end  id="end2" label="" error="none" type="void"/></when><when  id="splitActivity2|invokeActivity2" label="" is="" from="splitActivity2" to="invokeActivity2"><invoke  id="invokeActivity2" label="发送服务请求2" async="false" type="COMPONENT"><value>{"target":"serviceRequest4","path":"$UI/wxsys/comps/serviceRequest/serviceRequest","name":"send"}</value><output  declare="false" type="void"></output><args><arg  id="C85CFD6E24900001C0491561D300EE20" name="params" type="$UI/wxsys/JSON" label="参数">{"value":"{\"orderID\":event.context.listitem.fid}","label":"{\"orderID\":event.context.listitem.fid}"}</arg></args></invoke><line  id="invokeActivity2|end3" label="" from="invokeActivity2" to="end3"/><end  id="end3" label="" error="none" type="void"/></when></split></when><when  id="splitActivity1|invokeActivity1" label="真" is="true" from="splitActivity1" to="invokeActivity1" error="none"><invoke  id="invokeActivity1" label="发送服务请求1" async="false" type="COMPONENT"><value>{"target":"serviceRequest","path":"$UI/wxsys/comps/serviceRequest/serviceRequest","name":"send","funType":"multiLine"}</value><output  declare="false" type="void"/><args><arg  id="C85CFD10B6B000016DE61B1E1E44FB60" name="params" type="$UI/wxsys/JSON" label="参数">{"value":"{\"orderID\":event.context.listitem.fid}","label":"{\"orderID\":event.context.listitem.fid}"}</arg></args></invoke><line  id="invokeActivity1|end1" label="" from="invokeActivity1" to="end1"/><end  id="end1" label="" error="none" type="void"/></when></split></method></function></root>]]></script>
<script
 id="script1"
 type="code/diagram"><![CDATA[{"version":"2","shapeStyle":{"start1":{"shape":{"x":50,"y":200,"w":20,"h":20},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"event":{"shape":{"x":80,"y":10,"w":30,"h":20},"pid":"params1","issel":"","iconurl":"","LABEL":"new"},"splitActivity1":{"shape":{"x":95,"y":180,"w":150,"h":60},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"splitActivity2":{"shape":{"x":295,"y":95,"w":150,"h":60},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"invokeActivity1":{"shape":{"x":295,"y":265,"w":120,"h":60},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"end1":{"shape":{"x":440,"y":285,"w":20,"h":20},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"end2":{"shape":{"x":495,"y":50,"w":20,"h":20},"pid":"method1","issel":"","iconurl":"","LABEL":"new"},"invokeActivity2":{"shape":{"x":495,"y":180,"w":120,"h":60},"pid":"method1","issel":"","iconurl":"","LABEL":"Refresh"},"start1|splitActivity1":{"LABEL":"","issel":"","outPortDir":"e","inPortDir":"w","targetNode":"splitActivity1","sourceNode":"start1","shape":[{"x":69,"y":210},{"x":94,"y":210}]},"splitActivity1|splitActivity2":{"LABEL":"Refresh","issel":"","outPortDir":"n","inPortDir":"w","targetNode":"splitActivity2","sourceNode":"splitActivity1","shape":[{"x":170,"y":179},{"x":170,"y":125},{"x":294,"y":125}]},"splitActivity1|invokeActivity1":{"LABEL":"Refresh","issel":"","outPortDir":"s","inPortDir":"w","targetNode":"invokeActivity1","sourceNode":"splitActivity1","shape":[{"x":170,"y":239},{"x":170,"y":295},{"x":294,"y":295}]},"invokeActivity1|end1":{"LABEL":"","issel":"","outPortDir":"e","inPortDir":"w","targetNode":"end1","sourceNode":"invokeActivity1","shape":[{"x":414,"y":295},{"x":439,"y":295}]},"splitActivity2|end2":{"LABEL":"Refresh","issel":"","outPortDir":"n","inPortDir":"w","targetNode":"end2","sourceNode":"splitActivity2","shape":[{"x":370,"y":94},{"x":370,"y":60},{"x":494,"y":60}]},"splitActivity2|invokeActivity2":{"LABEL":"","issel":"","outPortDir":"s","inPortDir":"w","targetNode":"invokeActivity2","sourceNode":"splitActivity2","shape":[{"x":370,"y":154},{"x":370,"y":210},{"x":494,"y":210}]},"end3":{"shape":{"x":640,"y":200,"w":20,"h":20},"pid":"method1","issel":true,"iconurl":"","LABEL":"Refresh"},"invokeActivity2|end3":{"LABEL":"","issel":"","outPortDir":"e","inPortDir":"w","targetNode":"end3","sourceNode":"invokeActivity2","shape":[{"x":614,"y":210},{"x":639,"y":210}]}},"processFile":""}]]></script></wx:code></wx:inVisibleCompContainer>
<wx:panel
 class="x-panel x-full"
 id="panel">
<wx:top
 class="x-panel-top"
 height="48"
 id="top"
 style="background-color:#f2edf5;height:48px">
<wx:navbar
 activeBar="bar"
 activeClass="c-red"
 class="navbar weui-navbar"
 id="navbar"
 style="background-color:#f2edf5"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:bar
 class="weui-navbar__item"
 id="bar"
 on:active="[{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;tableData.current.fdingdanzt&quot;,&quot;data&quot;:&quot;tableData&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;\&quot;&quot;,&quot;row&quot;:&quot;js:tableData.current&quot;}},{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}]"
 xmlns:wx="$UI/wxsys/comps">
<wx:label
 class="weui-navbar__title"
 id="label"
 xmlns:wx="$UI/wxsys/comps">全部</wx:label></wx:bar>
<wx:bar
 class="weui-navbar__item"
 id="bar1"
 on:active="[{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;tableData.current.fdingdanzt&quot;,&quot;data&quot;:&quot;tableData&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;待支付\&quot;&quot;,&quot;row&quot;:&quot;js:tableData.current&quot;}},{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}]"
 xmlns:wx="$UI/wxsys/comps">
<wx:label
 class="weui-navbar__title"
 id="label1"
 xmlns:wx="$UI/wxsys/comps">待支付</wx:label></wx:bar>
<wx:bar
 class="weui-navbar__item"
 id="bar2"
 on:active="[{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;tableData.current.fdingdanzt&quot;,&quot;data&quot;:&quot;tableData&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;待确认\&quot;&quot;,&quot;row&quot;:&quot;js:tableData.current&quot;}},{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}]"
 xmlns:wx="$UI/wxsys/comps">
<wx:label
 class="weui-navbar__title"
 id="label2"
 xmlns:wx="$UI/wxsys/comps">待确认</wx:label></wx:bar>
<wx:bar
 class="weui-navbar__item"
 id="bar3"
 on:active="[{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;tableData.current.fdingdanzt&quot;,&quot;data&quot;:&quot;tableData&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;待收货\&quot;&quot;,&quot;row&quot;:&quot;js:tableData.current&quot;}},{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}]">
<wx:label
 class="weui-navbar__title"
 id="label3"
 xmlns:wx="$UI/wxsys/comps">待收货</wx:label></wx:bar>
<wx:bar
 class="weui-navbar__item"
 id="bar4"
 on:active="[{&quot;operation&quot;:&quot;commonOperation.setValue&quot;,&quot;args&quot;:{&quot;item&quot;:&quot;tableData.current.fdingdanzt&quot;,&quot;data&quot;:&quot;tableData&quot;,&quot;col&quot;:&quot;fdingdanzt&quot;,&quot;value&quot;:&quot;js:\&quot;完成\&quot;&quot;,&quot;row&quot;:&quot;js:tableData.current&quot;}},{&quot;operation&quot;:&quot;restData1.refresh&quot;,&quot;args&quot;:{&quot;force&quot;:&quot;true&quot;}}]">
<wx:label
 class="weui-navbar__title"
 id="label4"
 xmlns:wx="$UI/wxsys/comps">完成</wx:label></wx:bar></wx:navbar></wx:top>
<wx:content
 class="x-panel-content"
 id="content"
 style="top:48px;bottom:0px;background-color:#F3F3F3">
<wx:list
 _created="true"
 id="list"
 index="listindex"
 item="listitem"
 items="restData1.value"
 label="动态列表订单"
 mockDataLimit="0"
 style="background-color:#eadbf2;margin-bottom:10px">
<wx:row
 class="x-row"
 id="row"
 style="padding-top:5px;padding-left:5px;padding-bottom:5px;padding-right:5px">
<wx:col
 class="x-col x-col-fixed"
 id="col">
<wx:text
 id="text">订单号：</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col1"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:text
 bind:text="listitem.fdingdanh"
 id="text1">订单编号</wx:text></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col17">
<wx:text
 bind:text="listitem.fdingdanzt"
 id="text2"
 style="color:#fa6868">订单状态</wx:text></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col2">
<wx:button
 class="wx-btn wx-btn-noborder wx-btn-only-label wx-btn-icon-bottom"
 id="button2"
 open-type="contact"
 plain="true"
 sessionFrom="&quot;卖家对订单&quot; + listitem.fdingdanh + &quot;的投诉&quot;"
 size="mini">
<wx:icon
 id="icon2"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view2">投诉</view></wx:button></wx:col></wx:row>
<wx:row
 class="x-row"
 id="row1"
 on:tap="{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/shangpin_xq.w&quot;,&quot;params&quot;:&quot;js:{\&quot;param0\&quot;:listitem.fshangpinid}&quot;}}">
<wx:col
 class="x-col x-col-fixed"
 id="col3">
<wx:image
 bind:src="listitem.fshangpinid_shangpin1_ftupian"
 class="weui-img"
 id="image"
 mode="scaleToFill"
 style="width:60px;height:60px"/></wx:col>
<wx:col
 class="x-col"
 id="col4"
 style="font-size:13px"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:row
 class="x-row"
 id="row2">
<wx:col
 class="x-col"
 id="col5">
<wx:text
 bind:text="listitem.fshangpinid_shangpin1_fmingcheng"
 id="text3"
 style="display:block">名称</wx:text></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col7">
<wx:text
 bind:text="&quot;￥&quot; + listitem.fshangpinid_shangpin1_fjiage"
 id="text4">单价</wx:text></wx:col></wx:row>
<wx:text
 bind:text="&quot;卖家留言：&quot; + listitem.fmaijialy"
 id="text9"
 style="display:block;text-align: left;font-style: italic;font-size:16px">留言：</wx:text></wx:col></wx:row>
<wx:row
 bind:hidden="wx.Util.iif(listitem.fdingdanzt==&quot;完成&quot;&amp;&amp;listitem.fmaijiapjj16b91b!=&quot;&quot;,true,false)"
 class="x-row"
 id="row5">
<wx:col
 class="x-col"
 id="col8"/>
<wx:col
 bind:hidden="wx.Util.iif(listitem.fdingdanzt==&quot;待确认&quot;,false,true)"
 class="x-col x-col-fixed"
 id="col15">
<wx:button
 class="wx-btn"
 id="button"
 on:longtap="{&quot;operation&quot;:&quot;serviceRequest1.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;orderID\&quot;:listitem.fid}&quot;}}"
 on:tap="{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:\&quot;请长按\&quot;&quot;,&quot;icon&quot;:&quot;loading&quot;,&quot;duration&quot;:&quot;3000&quot;,&quot;mask&quot;:&quot;true&quot;}}"
 plain="true"
 size="mini"
 type="warn">
<wx:icon
 id="icon"
 size="15"
 type="wx-btn-icon"/>
<view
 bind:text="wx.Util.iif(listitem.fdingdanzt==&quot;待确认&quot;,&quot;要求买家重新付款&quot;,&quot;按钮1&quot;)"
 class="wx-btn-label"
 id="view">左侧按钮</view></wx:button></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col16">
<wx:button
 bind:disabled="wx.Util.iif(listitem.fdingdanzt==&quot;待支付&quot;||listitem.fdingdanzt==&quot;待收货&quot;,true,false)"
 class="wx-btn"
 id="button1"
 on:tap="{&quot;args&quot;:{&quot;event&quot;:&quot;js:$event&quot;},&quot;operation&quot;:&quot;button1TapCallback.customOperation&quot;,&quot;type&quot;:&quot;customOperation&quot;}"
 plain="true"
 size="mini"
 type="primary">
<wx:icon
 id="icon1"
 size="15"
 type="wx-btn-icon"/>
<view
 bind:text="wx.Util.iif(listitem.fdingdanzt==&quot;待支付&quot;,&quot;请等待买家付款&quot;,wx.Util.iif(listitem.fdingdanzt==&quot;待确认&quot;,&quot;确认收款并发货&quot;,wx.Util.iif(listitem.fdingdanzt==&quot;待收货&quot;,&quot;请等待买家确认收货&quot;,wx.Util.iif(listitem.fdingdanzt==&quot;完成&quot;&amp;&amp;listitem.fmaijiapjj16b91b==&quot;&quot;,&quot;去评价&quot;,wx.Util.iif(listitem.fdingdanzt==&quot;完成&quot;&amp;&amp;listitem.fmaijiapjj16b91b!=&quot;&quot;,&quot;已评价&quot;,&quot;按钮2&quot;)))))"
 class="wx-btn-label"
 id="view1">右侧按钮</view></wx:button></wx:col></wx:row></wx:list>
<view
 bind:hidden="wx.Util.iif(restData1.count()==0,false,true)"
 id="view6">
<wx:row
 class="x-row"
 id="row3">
<wx:col
 class="x-col"
 id="col9"/>
<wx:col
 class="x-col x-col-fixed"
 id="col10">
<wx:icon
 class="icon-bag"
 id="icon5"
 size="15"
 style="font-size:150px"/></wx:col>
<wx:col
 class="x-col"
 id="col11"/></wx:row>
<wx:row
 class="x-row"
 id="row4">
<wx:col
 class="x-col"
 id="col12"/>
<wx:col
 class="x-col x-col-fixed"
 id="col13">
<wx:text
 id="text8"
 style="font-size:18px;color:#999999">空空如也呢~</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col14"/></wx:row></view></wx:content></wx:panel>
<resource
 id="resource">
<require
 id="require"
 url="css!$UI/main/common.css"/></resource></wx:page>___js___:import PageImpl from "$UI/wxsys/lib/base/pageImpl";var app = getApp();export default class IndexPage extends PageImpl {constructor(...args){super(...args);}

	
  button1TapCallback(event){
        let regeneratorRuntime = require('$UI/wxsys/comps/code/generator/runtime-module');
        "use strict";

        //当前函数的代码为自动生成,请勿手动修改!!!

        function code(event) {
            if (!(event.context.listitem.fdingdanzt == "待确认")) {
                if (!(event.context.listitem.fdingdanzt == "完成")) {
                    return;
                } else {
                    this.comp('serviceRequest4').send({
                        "orderID": event.context.listitem.fid
                    });
                    this.comp('tableData').fieldsValue(undefined, {
                        "fid": event.context.listitem.fid
                    });
                    return;
                }
            } else if (event.context.listitem.fdingdanzt == "待确认") {
                this.comp('serviceRequest').send({
                    "orderID": event.context.listitem.fid
                });
                return;
            }
        }
        return code.apply(this, arguments);
    }





	}